package com.tedu.pj.common.singleton;

/**
 * <p>
 *
 * </p>
 *
 * @author Song
 * @since 2020/10/23
 */
public class SingletonL {
    private volatile static SingletonL instance;

    private SingletonL(){}

    public static SingletonL getinstance(){
        if (instance==null){
            synchronized(SingletonL.class){
                if (instance==null){
                    instance=new SingletonL();
                }
            }
        }
        return instance;
    }
}
